package com.qyl.deguru.dto;

import java.util.Date;

import org.springframework.format.annotation.DateTimeFormat;

public class User {

	private Integer id;
	private String user_id;
	private String pass_word;
	private String name;
	private String province;
	private String city;
	private Integer sex;
	@DateTimeFormat(pattern="yyyy-MM-dd")
	private Date birthday;
	private String email;
	private String phone;
	private String address;
	private Integer role;
	private Date create_date;
	private Integer active_status;
	private String active_code;
	private String userHeadImg;

	
	public String getUserHeadImg() {
		return userHeadImg;
	}
	public void setUserHeadImg(String userHeadImg) {
		this.userHeadImg = userHeadImg;
	}
	public Integer getId() {
		return id;
	}
	public void setId(Integer id) {
		this.id = id;
	}
	public String getUser_id() {
		return user_id;
	}
	public void setUser_id(String user_id) {
		this.user_id = user_id;
	}
	public String getPass_word() {
		return pass_word;
	}
	public void setPass_word(String pass_word) {
		this.pass_word = pass_word;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public String getProvince() {
		return province;
	}
	public void setProvince(String province) {
		this.province = province;
	}
	public String getCity() {
		return city;
	}
	public void setCity(String city) {
		this.city = city;
	}
	public Integer getSex() {
		return sex;
	}
	public void setSex(Integer sex) {
		this.sex = sex;
	}
	public Date getBirthday() {
		return birthday;
	}
	public void setBirthday(Date birthday) {
		this.birthday = birthday;
	}
	public String getEmail() {
		return email;
	}
	public void setEmail(String email) {
		this.email = email;
	}
	public String getPhone() {
		return phone;
	}
	public void setPhone(String phone) {
		this.phone = phone;
	}
	public String getAddress() {
		return address;
	}
	public void setAddress(String address) {
		this.address = address;
	}
	public Integer getRole() {
		return role;
	}
	public void setRole(Integer role) {
		this.role = role;
	}
	public Date getCreate_date() {
		return create_date;
	}
	public void setCreate_date(Date create_date) {
		this.create_date = create_date;
	}
	public Integer getActive_status() {
		return active_status;
	}
	public void setActive_status(Integer active_status) {
		this.active_status = active_status;
	}
	public String getActive_code() {
		return active_code;
	}
	public void setActive_code(String active_code) {
		this.active_code = active_code;
	}
	@Override
	public String toString() {
		return "User [id=" + id + ", user_id=" + user_id + ", pass_word="
				+ pass_word + ", name=" + name + ", province=" + province
				+ ", city=" + city + ", sex=" + sex + ", birthday=" + birthday
				+ ", email=" + email + ", phone=" + phone + ", address="
				+ address + ", role=" + role + ", create_date=" + create_date
				+ ", active_status=" + active_status + ", active_code="
				+ active_code + "]";
	}

	
}
